package com.wzy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wzy.pojo.Article;
import com.wzy.pojo.Visitor;
import com.wzy.service.ArticlesService;
import com.wzy.service.VisitorService;
import com.wzy.utils.R;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;


@Mapper
public interface VisitorMapper extends BaseMapper<Visitor> {
    List<Visitor> selectAllVisitor();

    Integer deleteById(Integer id);

    Integer insertOne(String ip,String city,String flag,String time);

    //根据id更新值
    Integer updateById(String time,Integer id);

}
